﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataModels.Enums.WorkOrder
{
    // 仓库类型枚举
    public enum WarehouseType 
    {
        [Description("正常库")]
        Normal = 0,    // 正常库
        [Description("残次库")]
        Defective = 1  // 残次库
    }
    public enum WorkOrderPriority
    {
        /// <summary>
        /// 紧急
        /// </summary>
        [Description("紧急")]
        Urgent = 1,

        /// <summary>
        /// 高
        /// </summary>
        [Description("高")]
        High = 2,

        /// <summary>
        /// 中
        /// </summary>
        [Description("中")]
        Medium = 3,

        /// <summary>
        /// 低
        /// </summary>
        [Description("低")]
        Low = 4
    }

    public enum WorkOrderStatus
    {
        /// <summary>
        /// 新建/待派单
        /// </summary>
        [Description("待派单")]
        New = 0,

        /// <summary>
        /// 待接单
        /// </summary>
        [Description("待接单")]
        Assigned = 1,

        /// <summary>
        /// 处理中
        /// </summary>
        [Description("处理中")]
        Processing = 2,
        
        /// <summary>
        /// 已解决
        /// </summary>
        [Description("已解决")]
        Resolved = 4,

        /// <summary>
        /// 待评价
        /// </summary>
        [Description("待评价")]
        WaitingForFeedback = 5,

        /// <summary>
        /// 已取消
        /// </summary>
        [Description("已取消")]
        Cancelled = 6,

        /// <summary>
        /// 已关闭
        /// </summary>
        [Description("已关闭")]
        Closed = 7

    }
    public enum WorkOrderRapidStatus
    {
        /// <summary>
        /// 新建/待处理
        /// </summary>
        [Description("待处理")]
        New = 0,

        /// <summary>
        /// 已转单
        /// </summary>
        [Description("已转单")]
        Assigned = 1,

        /// <summary>
        /// 处理中
        /// </summary>
        [Description("处理中")]
        Processing = 2,

        /// <summary>
        /// 等待用户反馈
        /// </summary>
        [Description("等待用户反馈")]
        WaitingForFeedback = 3,

        /// <summary>
        /// 已处理(待审核)
        /// </summary>
        [Description("已处理(待审核)")]
        Resolved = 4,

        /// <summary>
        /// 已关闭
        /// </summary>
        [Description("已关闭")]
        Closed = 5,

        /// <summary>
        /// 已取消
        /// </summary>
        [Description("已取消")]
        Cancelled = 6
    }
}
